﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;

namespace CFSystem.JXC
{
    /// <summary>實現SqlCommand對象的具體類</summary> 
    public class SqlCommand : CommandFactory
    {
        public SqlCommand(IDbConnection conn, string commText) : base(conn, commText) { }

        public override IDbCommand GetCommand()
        {
            return new System.Data.SqlClient.SqlCommand(commandText, (System.Data.SqlClient.SqlConnection)iConn);
        }
    } 

}
